/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-11-24     86159       the first version
 */
#ifndef APPLICATIONS_SEM_H_
#define APPLICATIONS_SEM_H_

#include<errno.h>
#include<rtdef.h>
#include<rtdbg.h>
#include<rtthread.h>

rt_sem_t sem1;
struct rt_semaphore sem2;
rt_thread_t th111,th222;
int flags=0;
void th11_entry(void *parameter);
void th22_entry(void *parameter);
int sem(void);

#endif /* APPLICATIONS_SEM_H_ */
